﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Auctiondetails.ascx.cs" Inherits="Auctiondetails" %>
<style type="text/css">

        .style57
        {
            width: 132px;
            height: 146px;
        }
 

        .style56
        {
            width: 132px;
        }
        </style>

<asp:GridView ID="gvMyauctions" runat="server" AutoGenerateColumns="False" 
    CellPadding="4" ForeColor="#333333" GridLines="None" Height="937px" 
    Width="769px">
    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <table style="border: thin solid #C0C0C0; height: 197px; width: 119px;">
                    <tr>
                        <td class="style57" style="border: thin solid" valign="top">
                            <a href='addauction.aspx?typeid=<%#Eval("i_autoid") %>'>
                            <asp:Image ID="Image1" runat="server" BorderColor="#33CC33" Height="143px" 
                                ImageUrl="<%# getSRC(Container.DataItem) %>" Width="123px" />
                            </a>
                        </td>
                    </tr>
                    <tr>
                        <td class="style56" 
                            style="border: thin solid #C0C0C0; background-repeat: no-repeat;">
                            &nbsp;&nbsp; <a href='addauction.aspx?typeid=<%#Eval("i_autoid") %>'>
                            <asp:HyperLink ID="HyperLink1" runat="server" 
                                Text="<%# itemtype(Container.DataItem) %>"></asp:HyperLink>
                            </a>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:BoundField DataField="Startingdate" HeaderText="Starting Date" />
        <asp:BoundField DataField="endingdate" HeaderText="Ending Date" />
        <asp:BoundField DataField="i_bidprice" HeaderText="Last Bid" />
    </Columns>
    <EditRowStyle BackColor="#999999" />
    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
    <SortedAscendingCellStyle BackColor="#E9E7E2" />
    <SortedAscendingHeaderStyle BackColor="#506C8C" />
    <SortedDescendingCellStyle BackColor="#FFFDF8" />
    <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
</asp:GridView>

